<?php echo'<';?>?xml version="1.0" encoding="UTF-8"?<?php echo '>';?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> LooPo乐铺创意杂货 - 最具创意的礼品店</title>
</head>

<?php include 'style.html'?>

<body>
<h1><a href="/wap"><img border="0" src="/wap/img/logo.gif" alt="LooPo乐铺" /></a></h1>
<hr/>

<h2>乐铺新品</h2>
<ul>
<?php foreach ($list['list'] as $v):?>
<li><img src="/images/items/s/<?php echo $v['model']?>.gif" width="100" height="100" alt="“<?php echo $v['name']?>”的图片" /><br />
<font color="#FF6000">¥<?php echo preg_replace('/^(\d+)\.(\d+)$/', '$1.<font size="-2">$2</font>', $v['price1'])?></font>
<?php if($v['price2']>0 && ($v['price2']>$v['price1'])):?>&nbsp;&nbsp;<font class="s" color="#DA1B3D">特价</font><?php endif?>
<br />
<b class="title"><?php echo $v['name']?></b><?if($v['stocked'] == $v['updated'] && $v['stocknum']):?> - <font class="s" color="#DA1B3D">补货到!</font><?php endif?><br />
<?php if($v['title']):?><b>说明：</b><?php echo $v['title']?><br /><?php endif;?>
<b>材质：</b><?php echo $v['stuff']?><br /><br />
</li>
<?php endforeach;?>
</ul>

<?php include 'pages.html'?>
<?php include 'footer.html'?>

</body>
</html>
